n=7965; pencil=[|9137,5796| 7867,3715| 9137,9586|];